package com.appspot.moviesessions.infrastructure.persistence;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;

import org.springframework.stereotype.Component;

@Component("PMF")
public class PMF  {

	private PersistenceManagerFactory pmfInstance = JDOHelper
	        .getPersistenceManagerFactory("transactions-optional");

	public PMF(){
		
	}
	
	public PersistenceManagerFactory get() {
		return pmfInstance;
	}
	


}
